<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>节流</title>
    <style>
        *{
            border: 0;
            margin: 0;
        }
        #container{
            width: 100%;
            background-color: #4abcff;
            height: 500px;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: center;
            align-items: center;
        }
        #number{
            line-height: 20px;
            text-align: center;
            width: 50px;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <div id="container">
        <button id="dec">减1</button>
        <span id="number">0</span>
        <button id="add">加1</button>
    </div>
    <script type="text/javascript">

    </script>
    <script src="./throttle.js"></script>
</body>
</html>